{% extends 'base.html' %}
{% block title %}
    发布文章
{% endblock %}
{% block content %}
    <h3>{{ data.title }}</h3>
    <hr>
    <form class="form" method="post" action="#">
        <div class="form-group">
            <label for="title">文章标题:</label>
            <input class="form-control" required id="title" name="title" type="text" placeholder="请输入文章标题"/>
        </div>
        <div class="form-group">
            <label for="content">文章标题:</label>
            <textarea class="form-control" required placeholder="请输入文章内容" style="resize:none" id="content" name="content" cols="30" rows="10"></textarea>
        </div>
        <div class="form-group">
            <button class="btn btn-outline-primary">提交发布</button>
        </div>
    </form>
{% endblock %}